package cn.sfrog.project.biz.admin.mapper;

import cn.sfrog.project.biz.admin.domain.BizUserGiveAwayRecord;
import cn.sfrog.project.biz.admin.domain.vo.BizUserGiveAwayRecordQueryVO;
import cn.sfrog.project.biz.admin.domain.vo.BizUserGiveAwayRecordVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 转赠记录Mapper接口
 */
public interface BizUserGiveAwayRecordMapper extends BaseMapper<BizUserGiveAwayRecord> {
    /**
     * 查询转赠记录
     *
     * @param id 转赠记录主键
     * @return 转赠记录
     */
    BizUserGiveAwayRecordVO selectBizUserGiveAwayRecordById(Long id);

    /**
     * 查询转赠记录列表
     *
     * @param query 转赠记录
     * @return 转赠记录集合
     */
    List<BizUserGiveAwayRecordVO> selectBizUserGiveAwayRecordList(BizUserGiveAwayRecordQueryVO query);



}
